package Opeartion;

import book.Booklist;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class ShowBook implements Operation{
    @Override
    public void work(Booklist booklist) {
        System.out.println("显示图书....");
        Scanner scanner =new Scanner(System.in);
        int currentSize=booklist.getBrrownum();
        for (int i = 0; i < currentSize; i++) {
                System.out.println(booklist.getBook(i));
            }
        }
    }

